package com.example.foobar.dao.service;

import com.example.foobar.entity.DyComment;
import com.example.foobar.param.DyCommentPageParam;
import com.example.foobar.vo.DyCommentQueryVo;
import io.geekidea.springbootplus.framework.common.service.BaseService;
import io.geekidea.springbootplus.framework.core.pagination.Paging;

/**
 * 抖音文字评论 服务类
 *
 * @author 郑英奔
 * @since 2021-07-23
 */
public interface DyCommentDaoService extends BaseService<DyComment> {

    /**
     * 保存
     *
     * @param dyComment
     * @return
     * @
     */
    boolean saveDyComment(DyComment dyComment) ;

    /**
     * 修改
     *
     * @param dyComment
     * @return
     * @
     */
    boolean updateDyComment(DyComment dyComment) ;

    /**
     * 删除
     *
     * @param id
     * @return
     * @
     */
    boolean deleteDyComment(Long id) ;


    /**
     * 获取分页对象
     *
     * @param dyCommentPageParam
     * @return
     * @
     */
    Paging<DyCommentQueryVo> getDyCommentPageList(DyCommentPageParam dyCommentPageParam) ;

}
